package top.mschen.blog.controller.user;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import top.mschen.blog.dto.BaseRequest;
import top.mschen.blog.service.aticle.ArticleService;

@Controller
@RequestMapping("/unity/")
public class ArticleController {

    @Autowired
    private ArticleService articleServiceImpl;

    @RequestMapping(value = "getInfo",method = RequestMethod.POST)
    @ResponseBody
    private String getArticleInfo(@RequestBody BaseRequest baseRequest){

        return "SDFSAFASF";
    }
}
